<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork" %>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal table-form" name="ssys_form"  id="ssys_form" action="dirCustom.action"  onsubmit="return $action.query(this)">
    <input type="hidden" name="page.orderFlag" class="order-flag" value="<ww:property value='page.orderFlag'/>"> 
	<input type="hidden" name="page.orderString" class="order-string" value="<ww:property value='page.orderString'/>">
	<input type="hidden" name="page.pageSize" class="page-size" value="<ww:property value='page.pageSize'/>">
	<input type="hidden" name="page.totalPages" class="page-count" value="<ww:property value='page.totalPages'/>">
	<input type="hidden" name="page.currentPage" class="page-current" value="<ww:property value='page.currentPage'/>">
	
	<div class="table-header">
		<div class="table-search">
			<ul>
				<li>
					<input class="input-medium" type="text" id="name1" name="name" placeholder="请输入系统编码" value="<ww:property value='name'/>"  maxlength="10" > 
				</li>
			    <li>
			    	<ww:button css="btn green" caption="查询" funcode="acl_org/dirCustom" type="submit"></ww:button>
			    </li>
			</ul>
		</div>
		<div class="table-btn">
			<div class="btn-group">
				<ww:link funcode="acl_org/addCustomOrgTree" css="btn" caption="添加"  title="添加组织机构" target="cssTab"  rel="addCustomTree" href="dirCustomTree.action" ></ww:link>
			</div>
			<div class="btn-group">
			    <ww:link funcode="acl_org/delCustomOrgTree" css="btn" caption="批量删除"  onclick="$action.execBatch(this,{url:'delCustomOrgTree.action',title:'确认要进行删除操作?'});"></ww:link>
			</div>
		</div>
	</div>
	<table class="table table-bordered">
		<thead>
			<tr>
				<th width="25px"><input group="ids" class="cleck-all" type="checkbox"/></th>
				<th width="120px">操作</th>
				<th width="30%" order-field="uuid" class="order">uuid</th>
				<th width="10%" order-field="name" class="order">sysId</th>
				<th>description</th>
			</tr>
		</thead>
		<tbody>
		  <ww:iterator value="page.results" id="data"> 
			<tr  rel="<ww:property value='uuid' />">
				<td class="text-center"><input type="checkbox"  name="ids" id="ids" value="<ww:property value="uuid" />"/></td>
				<td class="text-center">
					<ww:link funcode="acl_org/updCustomOrgTree" caption="修改"  title="修改组织机构" target="cssTab"  rel="updCustomTree%{uuid}" href="dirCustomTree.action?uuid=%{uuid}" ></ww:link>&nbsp;
				    <ww:link funcode="acl_org/delCustomOrgTree" caption="删除" onclick="$action.exec(this,{url:'delCustomOrgTree.action?ids=%{uuid}'})" href="javascript:;"></ww:link>&nbsp;
				    <ww:link funcode="" caption="预览"  title="预览" target="cssDialog"  rel="getPreviewMini" href="getPreviewMini.action?uuid=%{uuid}" ></ww:link>&nbsp;
				</td>
				<td ><ww:property value="uuid"/></td>
				<td ><ww:property value="sysId"/></td>
				<td ><ww:property value="des"/></td>
			</tr>
			</ww:iterator>
		</tbody>
	</table>
	<div class="pagination"> <ww:property value="page.pageSplit"/></div>
</form>